<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link type="text/css" href="../Scripts/css/smoothness/jquery-ui-1.8.11.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="../Scripts/js/jquery-1.4.4.min.js"></script>
        <script type="text/javascript" src="../Scripts/js/jquery-ui-1.8.11.custom.min.js"></script>
        <script type="text/javascript">
            $(function(){
                // Datepicker
                $('#datepicker').datepicker({
                    changeMonth: true,
                    changeYear: true
                });
                $( "#datepicker" ).datepicker( "option", "dateFormat", 'yy-mm-dd');
                
                 if( document.getElementsByName('DOB').length == 1 ){
                     document.getElementById('datepicker').value = '${userInfo.DOB}';
                 }else if(( document.getElementsByName('enrollmentDay').length == 1 )){
                     document.getElementById('datepicker').value = '${userInfo.DOB}';
                 }else if(( document.getElementsByName('workDay').length == 1 )){
                     document.getElementById('datepicker').value = '${userInfo.DOB}';
                 }
            });
        </script>
    </head>